package com.eling.elcms.travel.service;

import com.eling.elcms.core.model.BaseModel;
import com.eling.elcms.travel.model.FlowStatus;
import com.eling.elcms.travel.model.SendMsgTpye;

public interface ICallbackService {
	
	

	<T extends BaseModel>T setFlowStatus(T model,FlowStatus flowstatus);
	
	/**
	 * 审批流消息内容设置
	 * @param modelId 对应model的pk
	 * @param pass 是否通过（空为过程消息，true为通过消息，false为不通过消息）
	 * @return 消息字符串
	 * 
	 */
	String  getMsgTitle(BaseModel model,SendMsgTpye pass);
	
}
